#ifndef PRESENTATIONDELEGATE_H
#define PRESENTATIONDELEGATE_H

#include <QAbstractItemDelegate>

class PresentationDelegate : public QAbstractItemDelegate
{
    Q_OBJECT

public:

    /*! Paints a thumbnail slide.
     */
    void paint(QPainter *painter, const QStyleOptionViewItem &option,
            const QModelIndex &index) const;

    /*! Return size of thumbnail slides.
     */
    QSize sizeHint(const QStyleOptionViewItem &option,
            const QModelIndex &index) const;
};

#endif
